package com.fpc.cn.springbootutil.common;

import java.util.UUID;

/**
 * @date 2025/4/18
 * @author fpc
 */
public class StringUtil {

    public StringUtil() {
    }

    public static String randomStr(int num) {
        return UUID.randomUUID().toString().replace("-", "").substring(0, num);
    }

    public static String getUUID() {
        return randomStr(32);
    }


}
